<?php

class subdrive_scraper extends BlogScraper
{
    function __construct()
    {
        parent::__construct('subdrive');
    }
}

class subdrive_post_scraper extends PostScraper
{  
        
    function getDate()
    {
        $date = $this->xpath->query("//span[@class='entry-date']/abbr")->item(0)->getAttribute('title');
        $date = substr(str_replace("T", " ", $date), 0, 19);
        return $date;
             
    }
    
    function getTitle()
    {
        return $this->xpath->query("//h1")->item(0)->nodeValue;
    }
    
    
}

?>